package net.osweb.crm.modules.email.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Receivedmailbody entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "email_receivedmailbody")
public class ReceivedEmailBody implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 2617665606095670003L;
	private String emailuid;
	private String mailcontext;
	private String comment;

	// Constructors

	/** default constructor */
	public ReceivedEmailBody() {
	}

	/** minimal constructor */
	public ReceivedEmailBody(String emailuid) {
		this.emailuid = emailuid;
	}

	/** full constructor */
	public ReceivedEmailBody(String emailuid, String mailcontext, String comment) {
		this.emailuid = emailuid;
		this.mailcontext = mailcontext;
		this.comment = comment;
	}

	// Property accessors
	@Id
	@Column(name = "emailuid", unique = true, nullable = false)
	public String getEmailuid() {
		return this.emailuid;
	}

	public void setEmailuid(String emailuid) {
		this.emailuid = emailuid;
	}

	@Column(name = "mailcontext", length = 65535)
	public String getMailcontext() {
		return this.mailcontext;
	}

	public void setMailcontext(String mailcontext) {
		this.mailcontext = mailcontext;
	}

	@Column(name = "comment")
	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}